i3-resurrect is a program which can save and restore the layout and running programs in your i3 workspaces. Layouts are saved by using i3ipc to take necessary information from the workspace tree and write it to a JSON file.
i3-resurrect save/restore -w __i3_scratch; It is now possible to interpolate cmdline arguments from the actual process into custom command mappings; Programs that are already open in the workspace will no longer be restored; Assets 2. All reactions. 1.3.2. 10 Sep 22:32 . JonnyHaystack.
I do also use tmux-resurrect and I don't consider i3-resurrect a replacement for it, but I find that they complement each other and together they have helped improve my workflow a lot. I use tmux for programming projects and i3-resurrect for restoring everything else. I can even do stuff like restore a terminal window with an SSH connection ...
If you look at the way i3-resurrect can be configured I think you'll find it is a lot more flexible, with the ability to make rules that match certain window criteria to modify the swallow criteria or launch commands of those programs. Come to think of it I don't think layout manager even restores programs, unlike i3-resurrect.
One is that it is very easy to set up. i3-resurrect has a lot more functionality, but I just wanted something that could be easily set up with the sole purpose of restoring your previous session after exiting i3. You can do that with i3-resurrect (I wasn't able to get it to work though), but you need to manually set up a script to save/restore.
i3-resurrect. A simple but flexible solution to saving and restoring i3 workspace layouts. Installation. In a virtualenv (see these instructions if you need to create one):. pip3 install i3-resurrect
Hi guys, I know we have i3-resurrect, (that I did not try out yet). AFAIK, i3-resurrect is capable of restoring the layout, so if in a specific container I have 5 terminals running different programs in different working folders, it will just restore the terminals in the same layout configuration, but without running anything.
Oct 24, 2023There's a tool called " i3-resurrect" which may help me offset the need for this updated i3, but I wanted to check with you before doing anything. Thanks a bunch! Stagger_Lee October 24, 2023, 2:58am 2. Version 4.8 is from 2014, so if that feature was added in 4.8, 4.22 will include it. Version 4.22 is 14 versions newer than 4.8. ...